package com.hua.yuan.ui.module;

import java.util.Random;

/**
 * 时间：2018/8/22
 * 作者：蓝天
 * 描述：
 */
public class ImageItem {
    /**
     * atlas_id : 100
     * title : test
     * atlas_desc : test_desc
     * type : 1
     * cover_img_id : 1
     * cover_img_url : https://i.imgur.com/f6x6ADn.jpg
     */

    private int atlas_id;
    private String title;
    private String atlas_desc;
    private int type;
    private int cover_img_id;
    private String cover_img_url;
    private int reduNum;
    private String pic_num;
    private String origin_price;
    private String now_price;

    public String getPic_num() {
        return pic_num == null ? "0" : pic_num;
    }

    public void setPic_num(String pic_num) {
        this.pic_num = pic_num;
    }

    public String getOrigin_price() {
        return origin_price == null ? "0" : origin_price;
    }

    public void setOrigin_price(String origin_price) {
        this.origin_price = origin_price;
    }

    public String getNow_price() {
        return now_price == null ? "0" : now_price;
    }

    public void setNow_price(String now_price) {
        this.now_price = now_price;
    }

    public int getReduNum() {
        Random random = new Random();
        reduNum = 300 + random.nextInt(2700);
        return reduNum;
    }

    public void setReduNum(int reduNum) {
        this.reduNum = reduNum;
    }

    public int getAtlas_id() {
        return atlas_id;
    }

    public void setAtlas_id(int atlas_id) {
        this.atlas_id = atlas_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAtlas_desc() {
        return atlas_desc;
    }

    public void setAtlas_desc(String atlas_desc) {
        this.atlas_desc = atlas_desc;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getCover_img_id() {
        return cover_img_id;
    }

    public void setCover_img_id(int cover_img_id) {
        this.cover_img_id = cover_img_id;
    }

    public String getCover_img_url() {
        return cover_img_url;
    }

    public void setCover_img_url(String cover_img_url) {
        this.cover_img_url = cover_img_url;
    }


//    private String imageId = "";
//    private String imageUrl = "";
//    private String redu = "";//热度
//    private String imageNum = "";//图片个数
//    private String daibi = "";//代币1 正对付费精品
//    private String imageName = "";//图片的名字
//    private String daibi1 = "";//正对69特价
//    private String daibi2 = "";//正对69特价
//
//    public String getImageId() {
//        return imageId;
//    }
//
//    public void setImageId(String imageId) {
//        this.imageId = imageId;
//    }
//
//    public String getImageUrl() {
//        return imageUrl;
//    }
//
//    public void setImageUrl(String imageUrl) {
//        this.imageUrl = imageUrl;
//    }
//
//    public String getRedu() {
//        return redu;
//    }
//
//    public void setRedu(String redu) {
//        this.redu = redu;
//    }
//
//    public String getImageNum() {
//        return imageNum;
//    }
//
//    public void setImageNum(String imageNum) {
//        this.imageNum = imageNum;
//    }
//
//    public String getDaibi() {
//        return daibi;
//    }
//
//    public void setDaibi(String daibi) {
//        this.daibi = daibi;
//    }
//
//    public String getImageName() {
//        return imageName;
//    }
//
//    public void setImageName(String imageName) {
//        this.imageName = imageName;
//    }
//
//    public String getDaibi1() {
//        return daibi1;
//    }
//
//    public void setDaibi1(String daibi1) {
//        this.daibi1 = daibi1;
//    }
//
//    public String getDaibi2() {
//        return daibi2;
//    }
//
//    public void setDaibi2(String daibi2) {
//        this.daibi2 = daibi2;
//    }
}
